import request from '@/utils/request'


export const listProgress = (params) => {
  return request({
    url: `/system/excavationProgress/list`,
    method: 'get',
    params
  })
}

export const getProgress = (id) => {
  return request({
    url: '/system/excavationProgress/' + id,
    method: 'get'
  })
}

export const addProgress = (data) => {
  return request({
    url: '/system/excavationProgress',
    method: 'post',
    data
  })
}

export const updateProgress = (data) => {
  return request({
    url: '/system/excavationProgress',
    method: 'put',
    data
  })
}